import request from '@/utils/request';
import axios from 'axios';

// const dd = axios.create({
//   baseURL: 'https://m.you.163.com/xhr/search/searchAutoComplete.json',
//   timeout: 1000,
// });
export default {
  reqKeyword() {
    return request.post<any, any>('/xhr/search/init.json');
  },
  reqAutoKeyword(data: any) {
    return request.postForm<any, null>(
      '/xhr/search/searchAutoComplete.json',
      data
    );
  },
};
